<template>
  <!-- <div class="w100"> -->
    <page-index ref="pageIndex" v-if="currentPage == 'index'" @change="changePage('other')"/>
    <page-other ref="pageOther" v-else @change="changePage('index')"/>
  <!-- </div> -->
</template>

<script>
import pageIndex from './index/index.vue';
import pageOther from './other/index.vue'
export default {
  data(){
    return {
      currentPage: 'index',

    }
  },
  components:{
    pageIndex,
    pageOther,
  },
  methods:{
    changePage(page){
      this.currentPage = page;
    }
  }

}
</script>

<style>

</style>